package StudyCode.summary.mycollection;

import java.util.Collections;
import java.util.Vector;

/**
 * 版权所有 科技与人文(www.tah1986.com)
 */
public class FindMinimumElementOfVector {
	public static void main(String[] args) {
		Vector v = new Vector();

		v.add(new Double("4.14"));
		v.add(new Double("5.13"));
		v.add(new Double("2.12"));
		v.add(new Double("7.19"));
		v.add(new Double("3.15"));

		Object obj = Collections.min(v);

		System.out.println("Vector 最小元素 : " + obj);
	}
}
